package com.cxl.demo.service;

import com.cxl.demo.vo.BuyHistory;
import com.cxl.demo.vo.Pager;

import java.util.List;
import java.util.Map;

public interface BuyHistoryService {
    Integer addBuyHistory(BuyHistory buyHistory);
    Integer delBuyHistory(Integer buyHistoryId);
    BuyHistory findBuyHistory(Integer buyHistoryId);
    Pager findUserBuyHistory(Map<String,Object> map);
    Pager findGoodsBuyHistory( Map<String,Object> map);

}
